package com.twu.biblioteca.view;

import java.io.InputStream;
import java.util.Scanner;

public class Reader {
    private final Scanner scanner;

    public Reader(InputStream stream){
        this.scanner = new Scanner(stream);
    }

    public String read(){
        return scanner.nextLine();
    }
}
